removed the temporary reconnect function.