Delegated schedule import task to a background task, fixes #46