Call listen(2) when needed.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>