commit before socket experiment