Added exept. for connection bug, switched player

When connecting to the last node there was a problem