Fix creation of GC tasks

This was inadvertently using `apply` to call a function on a set of
arguments when a regular function call was appropriate, due to a bad
refactor.
Merge pull request #478 from nicklewis/fix-gc-tasks

Fix creation of GC tasks