Complete timeout.py's unix support