This should be done only once I think, not for every single listener in every single connection