If I made a connection to a server remotely, how could I disable the connect button until the information had sent (using a different button) completely?