Workaround for ocamlc side effects + raise Exceptions in server (this way, the request will fail et no callback will be called)