Break on EOFError for recvrepeat and recvall

Fixes #240