Fix stuck child processes using Lwt.fork