handle OSErrors possibly raised when kill()ing subprocess