In Eio 0.3 accept_fork always closes then socket when the function returns. However, the function is supposed to be allowed to close it itself first if it wants to. This results errors such as:
Error handling connection: Cancelled: Invalid_argument("close: file descriptor used after calling close!")
A work-around is to avoid manually closing the socket (there's no very good reason to continue handling a connection after closing it).