Use Lwt_main.run rather than the deprecated function Lwt_unix.run