let closeentry fqp =
let fqp_in = String.concat "." [fqp;"in"] in
let entry = try Hashtbl.find direct_fifo_table fqp_in with Not_found -> None in
match entry with
| None -> ()
| Some(_,_,_,fd) ->
close_if_open fd;
Hashtbl.remove direct_fifo_table fqp_in