Adjusted sreadl to return on error

Changes
======

- sreadl now returns on error and execution ends on error.