timeout of 30 seconds for publish command