disable close connection on curl