This implements a workaround for an uncatchable pyfftw exception (#71 (closed)).
Closes #71 (closed).