[#QUAR-23: added double check for existance of task]