Allow rake task to be run as a background task