Update server_swapper.py

Changed error handling to make it more subversive