Add reconnect support to st_connector class: use true to invoke force_close or graceful_close.