Check if data was received. If not do nothing. The connection is broken.
updated read me
debug flags set to FALSE