Changed HACMS Listener method to a thread.