FIX: correctly calculate the 5 minute time out.
Change collection name for tasks to tasks.