Kill child process for uploading to MongoDB