Callback stdout is printed afterwards