Merge pull request #505 from fredipevcin/close-unauth-connection

Reauth closes old unauthorized connection