fix for interruption and setting up proper status on interrupted/not finished sync task on first run