also check the return value of listen()