Send farmer to rest until granery has not space.

Crash: When granery is full and farmer goes to resting state, after
resting, farmer runs command again then it crash, field seems to be
empty.