Better approach to waiting for Mongo