Reattempt login and query on timeout
api changes