Add query timeout Junit tests for read proc and read write proc