Close Glome, optionally for specified time.