got rid of nextavailable worker deadlock