Fix error after re-login. Header was send twice because done was called twice.