PECS has a logout function that promotes an orderly exit from the application.
Closing the browser window (not just the browser tab) has the same effect.
To logout of PECS:
Click the Logout link in the upper-right corner of the PECS application
window.