Trap exits

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Add info about pid of the process while sending phy info

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Print memory consumtion when exiting

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>