main socket not block