fix thread-safety problems with IAsyncCallback. patch by jbellis; reviewed by Roger Schildmeijer and gdusbabek for CASSANDRA-864