fixes #741 by passing task to delayed_job