added timeout in ctrl_stack receive event, still can't figure why connection breaks