Handle the requestThread in case of failure (secondary/primary)
Make the server configurable!