Bah, missed the part about windows, If i remember right one of the ways to get around this was to use a SIG INT handeler and thread (or emulated fork) that kills (INT) the pid after x seconds. kinda an alarm like hack. If I can track down my code for this I will post it.