Avoid hangup on disconnect