add long polling support

I didn't implement async versions of Get/Next with wait parameter because customer maybe not need it...