Implement Slot recovery after server shutdown

This is important piece of work we do at start up with some funky distributed logic. Therefor lets explain what we are doing here ( in the lines of we take a lock -> fill the map -> then release the lock -> indicate its sucessfull) and what happens in other nodes.
By the way have we tested this code for sufficiently large number of queues and topics (+ nodes starting in parallel) ?