Fixing Error #2014 for statements executing procedures which return resultset