Calling stlink_reset() causes the target to reset after disconnecting.