changes due to socket cleanup in platform