Set timeout for socket test