use -s to avoid hang on cygwin.