Make sure request is set to the PENDING state before putting
it into the requests cache to prevent the notify processing
thread get list of waiting requests and publish it before it
is published in the executor thread. So request wouldn't be
published twice.
Change-Id: If6f39a82c5b8554cd429f9ad342021a0baad2a00
Closes-Bug: #1294046