TerminalProtocol should now longer return 0 from write_callback when
zero timeout has been specified for this TerminalProtocol instance.