TypeError on task() in GeventThreadPool

task() sometimes throws a TypeError because it's being passed args. Fixed by defining task() to take *args, **kwargs.