SCALARIZR-908 *Fix while in wait_data_in_mongodb