Stop the weird logout race condition from occuring on statements route