php: expect script should timeout