Added length check for cowsay
Added reconnect button
Added code for reconnect button