Use portend to wait on MongoDB being ready