implimented half of long polling, 30s timeout