Fixed bug in capture stop. Only current header should be returned to