private void RemoveTask() { try { TaskManager.ReleaseLock(UpdateTask); } catch (ArgumentOutOfRangeException) { // TODO Wtf this happening here? } }