Added some better error handeling to the rpiServer.py. Should be able to handel connections closing and reopening now.