fixed spec
fixed race condition when a request is done while another just arrived
CDB-471
Merge branch 'develop' into CDB-293_title_in_legends

* develop:
  fixed race condition when a request is done while another just arrived CDB-471
  fixed spec