added break statements so mtest stops trying to connect to an instrument once a connection has been made.