just use a child proc, kill it after 10 seconds or somethign