This makes the program more stable, and ensures that the connection is established every time we start.