Replaces read_nonblock + IO.select with a simple read

There's no reason to use nonblock is the only thing it's going to do is to
block on IO.select for that same and single IO.

This also fixes the issue the user was having in #39