add polling and method to claim task