move reconnect function to top of ysniff