Add timeout for transcoding