Cleanup & start the app only when mongo is connected