Non blocking socket listening