server now uses futures and not locks