Better wrapper (more work in async task), added log for poll ended