stop response sending twice if compile takes a long time when testing