use lwt.syntax
change port number
fix close bug