Actually close the connection form when the main form is spawned instead of hiding it