topics.getPids will return mainPid as well
closes #1825, closes #1674
delete unread chats on account delete