Cleanup of the loop throug interface communication