Make sure that the drush runserver does not stop the script