Cleanup listen func
Cleanup binding to work and sample config