Don't keep processing lines after timeout

Fixes #370