originally portals had to be closed manually by their creator once they were no longer needed , but in recent years warlocks have been able to create portals that close automatically after a certain amount of time has passed .