Add correct waits in dispatcher

Update common lib where the following changes have been applied:
Rollback commit: 3bbc0e3b8fa4b3496f72a473ab9ae99c4f90a214 dequeue method returns future, so it should have wait(). Also the action should have wait(). So we need two waits. This was breaking remote command.

Fixes: http://teampulse.telerik.com/view#item/278119