Fix deadlock when event_callback within an API scope
The deadlock occurs when connection_close_profile() is called
when profile is in connecting state at libnet-client.
Code flow is as below:-
connection_close_profile
-> _connection_libnet_close_profile
-> net_close_connection
now if (is_connecting == TRUE), then event callback is triggered
within connection_close_profile() scope via __net_abort_open_connection()
Change-Id: I92781b907625d541914b602b6449135d74d490db
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>