Fix in proper cleaning of inbox socket

Aren't we missing inbox socket cleanup? Or is it cleaned somewhere?