statusicon: add lock. attempt to fix #1130