Handle client disconnects in scoped timeout blocks.