kill process and delete buffer after timeout
In case the user starts an import and closes his browser, before answering all of
beets questions, the import process should get killed after some time.
Not so critical, but also important is freeing the allocated memory for the buffer.