fix canceling callback on client disconnect