Fixed sleep crash issues on newer 3.3.0 kobo devices

Fixes the sleep crash issue [#663](https://github.com/koreader/koreader/issues/663). Reverts changes made to `koboreader.sh` though. When included in the changed version, it restarts on exit to nickel from koboreader.