Termination on MacOSX