close still broken; so is the connection test; seeing if the cause is the contents of the test function