Add the possibility to name a thread (room for later log improvements)