aggressive error handling for critical part of consumer

close #57