It's logging out because for some reason it isn't banking the seeds. It'll bank for food, but once there's no inventory space for food anymore, it'll log out instead. It should click "bank all" when it opens the bank, then take food out and resume thieving.