Fix HTTP Error 504 Gateway Timeout Error