receiver: accept callback on closed in close()

It will be used in tests to remove wait().

Note1: MsgPackReceiver handles only one client. Is it OK? We doesn't
need to handle multipe clients?

Note2: Shuold the callback should wait until all clients are closed?