Sharks beat Connacht in URC game of two halves