Makes publish timeout configurable