Trying to implement threads between handler functions for rmt.mergeSeries()