missing static for setTimeout and add connectTimeout