Try to reconnect when erlyberly realises the connection is dead.
disable buttons when not connected