fix example: different parent in threads-with-router

changes to ensure object is created on different thread