Fixed a nasty bug where closing could cause ReadFull to crash
the program. Close #4.