No need to strdup foundation in new_selected_pair since we queue signal
Only check selected pair for writability in gio outputstream