Tweak to SSH coroutine code: put line number in the coroutine state