Simple background tasks engine in C++11