added connection time out, settings callback