Fixed memory-leak in Convolution1D (was creating too many threads and never shutting them down)