import wakatime package outside try block