prevent some errors that happen on logout from bubbling all the way up to the server