made work2 the default, work is gone.
added signal handling and a timeout (-T) option.