Double make sure to close all connections to database after rake tasks