I encountered this 'problem' before.. And I found the way to 'rectify' it...
1. Open your iPhone "Settings" > scroll down and tap "Skype"
2. Turn on the "Stay Online" option.. And you'll not be signed out from skype when you receive any messages/notifications anymore...