[sgen] Fix another posix handshake issue.