Add timeout to connectionpool