Implement support for callbacks after the "empty" messages are sent