Problem disappears when tomcat server is re-started and returns after 15-20 minutes.
I think @mlblount45 is also facing the same issue - N1QL queries timing out when run in java sdk - #38 by mlblount45
Could this be a problem of thread choking or thread pool connections in any way?