Solved segmentation fault in array monitor management, added exit notification function to serial