Fixed receiving of a response to get the full message without crashing or hanging.