make publish delay if not connected yet.