Hook disabled retry

Hi !

There is any way to disabled the automatic retry if gitlab doesn’t receive a valid HTTP response ?
I don’t why but apparently my API, sometimes, doesn’t answer, even if i get the hook.

Thank’s.