fixed virtual task status and cleanup handling, fixes prymitive/upaas#34 [ci skip]