I have a task to implement long-polling mechanism. I need to gather some requests during 30 seconds and than send all responses in one time for particular requests.