added custom 504 gateway timeout message