Fix websocket server sending

It was problem with python list loop. We need to copy list if we going
to delete list item