Python process send signal. , using a timeout parameter for some calls.