set task as inactive when ticket closed