Run a function with the possibility to interrupt it from another thread
github.com/mongodb-js/interruptor
mongodb-js/interruptor