remove session after task