added code to handle losing/disconnecting playres