Add interrupt handler to mongo