Removes extra getDocumentById when receiving mark requests
Extracts common method for marking documents, adds handling of connection failures
Names a few of the unnamed threads in Hydra Core