Fixed the REST service not setting the PHP timezone
Fixed wrong error code used for SQL connection retry condition