Shutting down compactionExecutor on db close

Hi,

Thank you for this awesome project!
Noticed that my process wasn't finishing even after db.close(). 
Shutting down the compaction executor seems to help.

Best,