isolated signal handling to !windows