REST send before RETR if restart is used

this commit fixes #76