fixed bug - hashmap for responses needs to be static so it is in sync among multiple threads