Turn very slow MySQL insert statement into multiple background jobs. Closes #137