Multithreaded the app to handle read/writes from two devices faster