Removed: obsolete code.
Fixed: stream func was being called too many times, and timeouts were being raised too early.