added logic to check and reset shard session and also to acquire new query service connection if it matches the criteria
added logic to check and reset shard session and also to acquire new query service connection if it matches the criteria

Signed-off-by: Harshit Gangal <af4d8fd3e8a94e9e7874ee31a198463039323a54@planetscale.com>

mahak/vitess,mahak/vitess,vitessio/vitess,vitessio/vitess,tinyspeck/vitess,mahak/vitess,vitessio/vitess,tinyspeck/vitess,tinyspeck/vitess,tinyspeck/vitess,mahak/vitess,vitessio/vitess,mahak/vitess,tinyspeck/vitess,tinyspeck/vitess,mahak/vitess,mahak/vitess,vitessio/vitess,vitessio/vitess,vitessio/vitess,mahak/vitess,vitessio/vitess,tinyspeck/vitess