Re-add the code that prevent suspending a connection when cached messages are found