Mastodon prior to 2.6.3 mishandles timeouts of incompletely established sessions.
joinmastodon mastodon