Steps to reproduce:
send several notifications in a row with several ms delay.
1. User send notification A via REST API
2. Server sends notification A to client
3. User send notification B via REST API
4. Server sends notification A and B to client due to no confirmation about delivery of A received yet.