Disable gateway

fixes #1259