improved logging if working dir cannot be cleaned up