change leaveOpen defaults