add socket close operations
when sending screenshot don't send next