change close behavior, change initial connection behavior