Merge "Update removeConnection API to throw instead of return boolean" into main