This should be separate action which will wait for MongoDB.