Cleanup.
socket event doesn't have "this" reference to frame