remove task fragment once done, possibly solve problem where task might be executed twice in certain circumstances