Index: ammosreader/AmmosAudioReader.py
===================================================================
--- ammosreader/AmmosAudioReader.py	(revision 1fb706043b6f51ebe9695211b8c8214f879675c9)
+++ ammosreader/AmmosAudioReader.py	(revision 1de11fa895fecafff8913af733b4ce838d476c97)
@@ -67,5 +67,5 @@
         byte_string = self.source.read_bytes(total)
 
-        if len(byte_string) != total:
+        if ((not byte_string) or (len(byte_string) != total)):
             logger.debug("Can not read all %s bytes of data body", total)
             return None
