Forgot mutex lock

Fixed missing mutex lock when pushing a received message on the server side.