Fix issue #13 - receive-str returns nil on timeout