Reject submissions when a task is expired

(This closes #195)