Fixed problem with removing listener while message handler working (endup with dead array).
Added delayed remove handler which would allow to unsubscribe from message in onMessageReceived handler