Fixed input field cleanup on connectionDetached.