The same socket is not used both messages and heart beat.