Fixed clientKill because of changed clientList output
Adjusted resource cleanup to prevent memory leaks