Error handler on socket listen