Implement AFK functionality [Issue #37]